/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package esdclibrarysystem;
import com.esdc.librarysystem.manager.CollectionManagerRemote;
import com.esdc.librarysystem.manager.LoanManagerRemote;
import com.esdc.librarysystem.manager.MemberManagerRemote;
import java.util.*;
import javax.ejb.EJB;

public class Main {
    @EJB
    public static CollectionManagerRemote collectionManager;
    @EJB
    public static LoanManagerRemote loanManager;
    @EJB
    public static MemberManagerRemote memberManager;
    public static boolean isDebug;


    public Main () {
    }

    public static void main(String[] args){
        System.out.println("Debug Mode?(Y/N)");
        Scanner sc = new Scanner(System.in);
        if(sc.nextLine().toUpperCase().equals("Y")) isDebug = true;
        else isDebug = false;

        new Selection().startService(args);
    }
}

